FROM docker.io/alpine:latest
MAINTAINER jinquan jinquan7@foxmail.com
LABEL Description="Remote call routines"

RUN mkdir -p /rc
ADD rc /rc

ADD entrypoint.sh /usr/sbin/
RUN chmod +x /usr/sbin/entrypoint.sh

EXPOSE 22

ENTRYPOINT ["/usr/sbin/entrypoint.sh"]
